package com.atguigu.guli.service.edu.feign;

import com.atguigu.guli.service.base.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@Component
@FeignClient("service-vod")
public interface VodService {
    @DeleteMapping("/edu/vod/deleteVideo/{videoId}")
    public R deleteVideo(@PathVariable("id") String videoId);


    @DeleteMapping("/edu/vod/deletebatch")
    public R deleteBatch(List videoIds);

}
